package com.axin.entity;

import java.util.Date;

public class HbTrades {
	private Long id;

    private Long userId;

    private Long taskId;

    private String symbol;

    private Integer loopCount;

    private String tradeType;

    private String tradeDirect;

    private String tradeMode;

    private String money;

    private String amount;

    private String price;

    private String fee;

    private String tradeTime;

    private Date createTime;

    private String groupId;
    
    
    /**
	 * 
	 */
	public HbTrades() {
		super();
	}

	/**
	 * @param userId
	 * @param taskId
	 * @param symbol
	 * @param tradeType
	 * @param tradeDirect
	 * @param money
	 * @param amount
	 * @param price
	 * @param fee
	 * @param tradeTime
	 */
	public HbTrades(Long taskId, String symbol, Integer loopCount,String tradeType, String tradeDirect, String money,
			String amount, String price, String fee, String tradeTime) {
		super();
		this.taskId = taskId;
		this.symbol = symbol;
		this.loopCount = loopCount;
		this.tradeType = tradeType;
		this.tradeDirect = tradeDirect;
		this.money = money;
		this.amount = amount;
		this.price = price;
		this.fee = fee;
		this.tradeTime = tradeTime;
	}

	public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getTaskId() {
        return taskId;
    }

    public void setTaskId(Long taskId) {
        this.taskId = taskId;
    }

    public String getSymbol() {
        return symbol;
    }

    public void setSymbol(String symbol) {
        this.symbol = symbol == null ? null : symbol.trim();
    }
    
    

    /**
	 * @return the loopCount
	 */
	public Integer getLoopCount() {
		return loopCount;
	}

	/**
	 * @param loopCount the loopCount to set
	 */
	public void setLoopCount(Integer loopCount) {
		this.loopCount = loopCount;
	}

	public String getTradeType() {
        return tradeType;
    }

    public void setTradeType(String tradeType) {
        this.tradeType = tradeType == null ? null : tradeType.trim();
    }

    public String getTradeDirect() {
        return tradeDirect;
    }

    public void setTradeDirect(String tradeDirect) {
        this.tradeDirect = tradeDirect == null ? null : tradeDirect.trim();
    }

    public String getMoney() {
        return money;
    }

    public void setMoney(String money) {
        this.money = money == null ? null : money.trim();
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount == null ? null : amount.trim();
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price == null ? null : price.trim();
    }

    public String getFee() {
        return fee;
    }

    public void setFee(String fee) {
        this.fee = fee == null ? null : fee.trim();
    }

    public String getTradeTime() {
        return tradeTime;
    }

    public void setTradeTime(String tradeTime) {
        this.tradeTime = tradeTime == null ? null : tradeTime.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

	/**
	 * @return the groupId
	 */
	public String getGroupId() {
		return groupId;
	}

	/**
	 * @param groupId the groupId to set
	 */
	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	/**
	 * @return the tradeMode
	 */
	public String getTradeMode() {
		return tradeMode;
	}

	/**
	 * @param tradeMode the tradeMode to set
	 */
	public void setTradeMode(String tradeMode) {
		this.tradeMode = tradeMode;
	}
	
	
    
    
}